import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormComponent } from './form.component';
import { FormRoutingModule } from './form-routing.module';
import { DynamicFormComponent } from './dynamic-form/dynamic-form.component';
import { NzFormModule, } from 'ng-zorro-antd/form';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { NzIconModule } from 'ng-zorro-antd/icon';
import { NzButtonModule } from 'ng-zorro-antd/button';
import { NzInputModule } from 'ng-zorro-antd/input';
import { BaseFormComponent } from './base-form/base-form.component';
import { NzSelectModule } from 'ng-zorro-antd/select';
import { NzMessageModule } from 'ng-zorro-antd/message';
import { NzDatePickerModule } from 'ng-zorro-antd/date-picker';
import { NzTagModule } from 'ng-zorro-antd/tag';
import { NzRateModule } from 'ng-zorro-antd/rate';
import { NzCheckboxModule } from 'ng-zorro-antd/checkbox';
import { RequiredComponent } from './required/required.component';
import { NestedFormComponent } from './nested-form/nested-form.component';
import { NzSwitchModule } from 'ng-zorro-antd/switch';
@NgModule({
  declarations: [
    FormComponent,
    DynamicFormComponent,
    BaseFormComponent,
    RequiredComponent,
    NestedFormComponent
  ],
  imports: [
    CommonModule,
    FormRoutingModule,
    FormsModule,
    ReactiveFormsModule,
    NzFormModule,
    NzIconModule,
    NzButtonModule,
    NzInputModule,
    NzSelectModule,
    NzTagModule,
    NzRateModule,
    NzDatePickerModule,
    NzCheckboxModule,
    NzSwitchModule,
    NzMessageModule,
  ]
})
export class FormModule { }
